<script type="text/template" id="trTempl">
	<% for (k in abiturient) { 
		var a = abiturient[k];
		%>
		<tr>
			<td><%=a.id%></td>
			<td><%=a.pFamily%></td>
			<td><%=a.pName%></td>
			<td><%=a.discipline%></td>
			<td><%=a.City%></td>
			<td><%=a.pAdress%></td>
			<td><%=a.pPhone%></td>
			<td style="width:30px;">
				<div class="btn-group">
					<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
						Action
						<span class="caret"></span>
					</a>
					<ul class="dropdown-menu">
						<li><a href=base_url/abiturient/accept/<%=a.id%> data-id=<%=a.id%> >Подтвердить</a></li>
						<li><a class="editAbiturient" data-id=<%=a.id%> >Редактировать</a></li>
						<li><a href=base_url/abiturient/delete/<%=a.id%> data-id=<%=a.id%> >Удалить</a></li>
					</ul>
				</div>
			</td>
		</tr>
	<% } %>
</script>
